package org.wevil.vo.wx;

import org.wevil.dto.WxOpenIdResult;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
/** 微信验证vo */
public class WxVo {
    private String openid;
    private String session_key;

    public static WxVo result2vo(WxOpenIdResult result){
        WxVo vo = new WxVo();
        vo.setOpenid(result.getOpenid());
        vo.setSession_key(result.getSession_key());
        return vo;
    }
}
